import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopPaylist/list',
method: 'get',
params: params
})
}
export function createShopPaylist(data) {
return request({
url: '/shop/shopPaylist/create',
method: 'post',
data: data
})
}

export function deleteShopPaylist(id) {
return request({
url: '/shop/shopPaylist/delete/' + id,
method: 'get',
})
}

export function getShopPaylist(id) {
return request({
url: '/shop/shopPaylist/' + id,
method: 'get',
})
}

export function updateShopPaylist(id, data) {
return request({
url: '/shop/shopPaylist/update/' + id,
method: 'post',
data: data
})
}

